-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed SAML logout for ADFS #2902
Conversation
In ADFS you need to have a Rule like this:
and in your
|
Thanks for offering this @theodor-franke. To be honest it'll probably take some time before I review this deeply, since I know it's going to consume about a day's worth of effort for me to go through each of the 8 added options to understand their functionality so I can assess the backwards compatibility and testing we'll need to add where possible. At a first glance, This seems like a lot of new options just to fix ADFS SLS. Are all these changes required to make ADFS SLS work? Or could you describe exactly what was failing for ADFS SLS? If this goes beyond I'd prefer to keep the scope limited to just fixing the ADFS SLS issues unless there's significant demand/response to go outside of that. In regards to the implementation, I have not functionally checked anything, but one thing I've seen from a quick look is that any |
I only tried this on our coporate ADFS-Server (windows 2016 so I think its called ADFS4.0) and without these fixes the logout would not work. regarding the |
Hi @theodor-franke, Just been testing this after setting up a local ADFS environment.
Within your environment, is there specific configuation that makes the In addition, Was the Notes to self
|
to resolve the Error you need to add the custom rule I posted earlier. (and dont forget to change the FQDN). About Thnaks for the work! |
@theodor-franke Thanks for the quick reply.
Ah, I see. Is there a reason for the |
- Migrated env usages to config. - Removed potentially unneeded config options or auto-set signed options based upon provision of certificate. - Aligned SP certificate env option naming with similar IDP option. Tested via AFDS on windows server 2019. To test on other providers.
Thanks again @theodor-franke. Now merged for next feature release. Range of changes made in 98072ba. This streamlines a range of the options to limit impact and amount of options to manage, While tweaking env option names. I have left the Have manually tested these changes against the following:
Each tested with pre-merge state going to post-merge state, ensuring no breakage post-merge. |
I've been trying to get SAML working with ADFS running on Windows Server 2019 and not having much luck. I've combed the documentation and still haven't had much luck. Since I'm running Windows Server 2019, are these new features/settings required? Does anyone have their working setup documented so I could go off something that is known to work? Any help would be appreciated. |
I can't share my Documentation because I dont work any longer at the place where I installed this. However the docs are a great starting point (https://www.bookstackapp.com/docs/admin/saml2-auth/) and if you want you can write me when you have Problems. |
This PR. adds some options to the .env file for configuring the logout with SAML. It also sets the correct NameId in the logout request.
This PR enables: